Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create stores lazily #638

Merged
merged 1 commit into from
Mar 7, 2018
Merged

create stores lazily #638

merged 1 commit into from
Mar 7, 2018

Conversation

yoshuawuyts
Copy link
Member

Initialize stores lazily. Opens up the way to run multiple instances of the same app on the server, by passing a custom state all the way down.

This was initially suggested by @diffcunha, and I think it's a pretty decent idea!

Thanks!

@goto-bus-stop
Copy link
Member

i like it!! we can probably also build on this to fix the issue with async rendering on the server that @tornqvist mentioned in choojs/bankai#427 (comment)

@yoshuawuyts
Copy link
Member Author

@goto-bus-stop yes, exactly!

@yoshuawuyts yoshuawuyts merged commit f20deb6 into master Mar 7, 2018
@yoshuawuyts yoshuawuyts deleted the lazy-init branch March 7, 2018 12:20
This was referenced Mar 15, 2018
goto-bus-stop pushed a commit to goto-bus-stop/choo that referenced this pull request Aug 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants